﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditDepartmentSlogans.aspx.cs"
    Inherits="Admin_Department_EditDepartmentSlogans" Theme="admin_skin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>编辑部门口号</title>
    <link href="../../App_Themes/css/admin_css.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <table border="0" class="table_rightFrame" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <asp:GridView ID="gdvImgList" Width="100%" SkinID="gridviewSkin" runat="server" AutoGenerateColumns="False"
                        EnableModelValidation="True" DataKeyNames="Id">
                        <Columns>
                            <asp:BoundField DataField="Id" HeaderText="计划编号" />
                            <asp:ImageField DataImageUrlField="imgUrl" HeaderText="图片">
                                <ControlStyle Height="100px" Width="100px" />
                            </asp:ImageField>
                            <asp:BoundField DataField="OrderValue" HeaderText="排序值" />
                            <asp:BoundField DataField="IsDefault" HeaderText="是否默认" />
                            <asp:TemplateField HeaderText="操作">
                                <ItemTemplate>
                                    <asp:Button ID="btnDel" runat="server" OnClick="btnDel_Click" Text="删除" />
                                    <asp:Button ID="btnDefault" runat="server" OnClick="btnDefault_Click"
                                        Text="默认" />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="Id" HeaderText="计划编号" Visible="False" />
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td>
                    <table border="1" cellpadding="0" cellspacing="1" width="500px">
                        <tr>
                            <td>选择图片：
                            </td>
                            <td>
                                <asp:FileUpload ID="fupImg" AllowMultiple="true" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td>是否默认：
                            </td>
                            <td>
                                <asp:DropDownList ID="drpIsDefault" runat="server">
                                    <asp:ListItem Text="否" Value="0"></asp:ListItem>
                                    <asp:ListItem Text="是" Value="1"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>排序值：
                            </td>
                            <td>
                                <asp:TextBox ID="txtOrderValue" runat="server" Width="100px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <asp:Button runat="server" ID="btnSave" Text="保存" OnClick="btnSave_Click" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
    </form>
</body>
</html>
